import request from '@/utils/request'

// 车辆列表接口 -- 维保，违章选择车辆
export function carBasicList(data) {
  return request({
    url: '/car/basic/basicList',
    method: 'get',
    params: data
  })
}

// https://www.showdoc.com.cn/1872553987197478/8589046586293647


// 车辆监控--车辆统计
export function carBasicMonitoringCount(data) {
  return request({
    url: '/car/basic/carBasicMonitoringCount',
    method: 'get',
    params: data
  })
}

// 车辆监控--车辆统计 https://www.showdoc.com.cn/1872553987197478/8592830967811225
export function carBasicMonitoring(data) {
  return request({
    // fake:true,
    url: '/car/basic/carBasicMonitoring',
    method: 'get',
    params: data
  })
}

// 车辆轨迹查询 https://www.showdoc.com.cn/1872553987197478/8592830967811225
export function getTrack(data) {
  return request({
    url: '/car/basic/getTrack',
    method: 'post',
    params: data
  })
}

// 定时刷新轨迹 https://www.showdoc.com.cn/1872553987197478/8592830967811225
export function wodafuCarCurrentLocation(data) {
  return request({
    url: '/car/basic/wodafuCarCurrentLocation',
    method: 'get',
    params: data
  })
}

export function reportingAddress(data) {
  return request({
    url: '/car/basic/reportingAddress',
    method: 'get',
    params: data
  })
}

// 设定初始里程 https://www.showdoc.com.cn/1872553987197478/8592830967811225
export function sendinstructions(data) {
  return request({
    url: '/car/basic/sendinstructions',
    method: 'post',
    params: data
  })
}

export function getImeiGPSCmd(data) {
  return request({
    // fake:true,
    url: '/car/basic/getImeiGPSCmd',
    method: 'post',
    params: data
  })
}

export function instructionlist(data) {
  return request({
    url: '/car/instruction/list',
    method: 'get',
    params: data
  })
}
